.class public Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field protected a:Lcom/waiqin365/lightwork/directory/b/v;

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/ListView;

.field private f:Lcom/waiqin365/lightwork/directory/b/d;

.field private g:Landroid/os/Handler;

.field private h:Ljava/util/List;

.field private i:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->g:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;Lcom/waiqin365/lightwork/directory/b/d;)Lcom/waiqin365/lightwork/directory/b/d;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->f:Lcom/waiqin365/lightwork/directory/b/d;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;Ljava/util/List;)Ljava/util/List;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->h:Ljava/util/List;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->h:Ljava/util/List;

    return-object v0
.end method

.method private b()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightwork/directory/n;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/directory/n;-><init>(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->g:Landroid/os/Handler;

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->i:Ljava/util/List;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)Lcom/waiqin365/lightwork/directory/b/d;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->f:Lcom/waiqin365/lightwork/directory/b/d;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->e:Landroid/widget/ListView;

    return-object v0
.end method


# virtual methods
.method public a(Lcom/waiqin365/lightapp/kehu/share/a/a;)Ljava/util/List;
    .locals 5

    new-instance v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;-><init>()V

    const-string/jumbo v1, "-1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    if-eqz p1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->i:Z

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->j:Z

    if-nez v1, :cond_0

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    iget-object v4, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v4, v4, Lcom/waiqin365/lightwork/directory/b/v;->b:Z

    invoke-virtual {v1, p1, v2, v4}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;Lcom/waiqin365/base/db/offlinedata/q;Z)Ljava/util/ArrayList;

    move-result-object v1

    invoke-interface {v3, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v2

    if-nez p1, :cond_2

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->b:Z

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    :goto_1
    invoke-virtual {v2, v0, v1}, Lcom/waiqin365/base/db/offlinedata/m;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;Lcom/waiqin365/base/db/offlinedata/q;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-interface {v3, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    const/4 v0, 0x0

    move v2, v0

    :goto_2
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_5

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->e:Z

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iput-object p1, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->a:Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->i:Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_4

    :cond_1
    :goto_3
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_2

    :cond_2
    move-object v0, p1

    goto :goto_0

    :cond_3
    sget-object v1, Lcom/waiqin365/base/db/offlinedata/q;->a:Lcom/waiqin365/base/db/offlinedata/q;

    goto :goto_1

    :cond_4
    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a(Lcom/waiqin365/lightapp/kehu/share/a/a;)Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/a/a;->a(Ljava/util/List;)V

    goto :goto_3

    :cond_5
    return-object v3
.end method

.method protected a()V
    .locals 4

    const v2, 0x7f0805d3

    const/4 v3, 0x0

    const v0, 0x7f0c070f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->b:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0711

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0712

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->i:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_3

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    const-string/jumbo v1, "#999999"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    const v1, 0x7f02011c

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setBackgroundResource(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->m:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->f:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v2, 0x7f080765

    invoke-virtual {v0, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c06b9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->e:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->e:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    const v0, 0x7f0c0247

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-boolean v1, v1, Lcom/waiqin365/lightwork/directory/b/v;->a:Z

    if-eqz v1, :cond_2

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout$LayoutParams;

    const/high16 v1, 0x420c0000    # 35.0f

    invoke-static {p0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {v0, v1, v3, v3, v3}, Landroid/widget/FrameLayout$LayoutParams;->setMargins(IIII)V

    :cond_2
    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->i:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->d:Landroid/widget/TextView;

    const v1, 0x7f02011d

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setBackgroundResource(I)V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->f:Ljava/lang/String;

    goto :goto_1
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const/4 v1, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->back()V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->e:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/directory/b/d;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/directory/b/d;->a()Ljava/util/List;

    move-result-object v3

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    move v2, v1

    :goto_1
    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->v:Z

    if-eqz v0, :cond_2

    if-eqz v2, :cond_1

    const-string/jumbo v0, ","

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_1
    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/4 v2, 0x1

    new-instance v7, Lcom/waiqin365/lightapp/kehu/share/a/n;

    invoke-direct {v7}, Lcom/waiqin365/lightapp/kehu/share/a/n;-><init>()V

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    iput-object v0, v7, Lcom/waiqin365/lightapp/kehu/share/a/n;->a:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->l:Ljava/lang/String;

    iput-object v0, v7, Lcom/waiqin365/lightapp/kehu/share/a/n;->c:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->g:Ljava/lang/String;

    iput-object v0, v7, Lcom/waiqin365/lightapp/kehu/share/a/n;->b:Ljava/lang/String;

    invoke-interface {v5, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_2
    new-instance v7, Lcom/waiqin365/lightapp/kehu/share/a/m;

    invoke-direct {v7}, Lcom/waiqin365/lightapp/kehu/share/a/m;-><init>()V

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->f:Ljava/lang/String;

    iput-object v0, v7, Lcom/waiqin365/lightapp/kehu/share/a/m;->b:Ljava/lang/String;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/a;->g:Ljava/lang/String;

    iput-object v0, v7, Lcom/waiqin365/lightapp/kehu/share/a/m;->c:Ljava/lang/String;

    invoke-interface {v4, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_2

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "exitingMembers"

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "selectPersonList"

    invoke-virtual {v0, v1, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Lcom/waiqin365/lightapp/view/a/a;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/view/a/a;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v2, v2, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/Observable;->notifyObservers(Ljava/lang/Object;)V

    :cond_4
    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->back()V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c070f
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    const/4 v2, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f030128

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/directory/b/v;

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightwork/directory/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightwork/directory/b/v;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->e:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightwork/directory/b/v;->e:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->i:Ljava/util/List;

    :cond_1
    invoke-direct {p0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->b()V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a()V

    new-instance v0, Lcom/waiqin365/lightwork/directory/m;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/directory/m;-><init>(Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;)V

    invoke-static {p0, v2, v2, v0}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    return-void

    :cond_2
    new-instance v0, Lcom/waiqin365/lightwork/directory/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightwork/directory/b/v;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->a:Lcom/waiqin365/lightwork/directory/b/v;

    goto :goto_0
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->f:Lcom/waiqin365/lightwork/directory/b/d;

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightwork/directory/b/d;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->b()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->f:Lcom/waiqin365/lightwork/directory/b/d;

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightwork/directory/b/d;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/a/a;->b()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    const v0, 0x7f0c06a7

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->performClick()Z

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;->f:Lcom/waiqin365/lightwork/directory/b/d;

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightwork/directory/b/d;->b(I)V

    goto :goto_0
.end method
